<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use Config;


class TestController extends Controller
{
    public function index()
    {
        echo hashPwd('admin');
    }


    public function wc()
    {
//        return response('')->cookie(
//            'testcookie', '1231231', 30
//        );
//        Session::put('id', '123132');
//        Session::forget('id');
        echo "<pre>";
        print_r(Session::all());
        echo "</pre>";
        die;
    }
}
